﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace IMIS_ERP.Web.ERP_Shop
{
    public partial class ES_Page_Left : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                if (Session["UType"].ToString() == "s_0")
                {
                    pnlMan.Visible = false;
                }
                else if (Session["UType"].ToString() == "s_1")
                {
                    pnlMan.Visible = true;
                }
                else
                {
                    Response.Redirect("../Quit.aspx?cr=no");
                }
                if (Convert.ToBoolean(Session["siIsFlagship"]))
                {
                    hplOrderManage.NavigateUrl = "../Order_Info/List_Flagship.aspx";
                }
            }
        }
    }
}